import ReactDOM from 'react-dom/client'
import router from "@/router";
import { RouterProvider } from "react-router-dom";
// 引入ant design 中文环境
import { ConfigProvider, App } from 'antd'
import zhCN from 'antd/locale/zh_CN'
import '@/common/styles/frame.less'

ReactDOM.createRoot(document.getElementById('root')!).render(
  <ConfigProvider locale={zhCN}>
      <App>
        <RouterProvider router={router} />
      </App>
  </ConfigProvider>
)
